Cream pie
| % | |
|---|---|
| Name | cream pie |
| Base price | 10 zm |
| Nutrition | 100 |
| Turns to eat | 1 |
| Weight | 10 |
| Conduct | vegetarian |
A cream pie is a type of comestible that appears in NetHack. It is veggy and considered vegetarian.
Contents
Generation
Tourists can start with cream pies among their initial stacks of food.[1] Orcish heroes that are not Wizards can receive cream pies among their extra food.[2][3]
Cream pies make up 1⁄40 (2.5%) of all comestibles randomly generated on the ground, in general shops or as death drops. Health food stores and delicatessens can also stock cream pies.
Keystone Kop monsters each have a 1⁄4 chance of generating with 2 to 4 cream pies.[4]
Applying a charged horn of plenty has a 23⁄1000 chance (2.3%) of generating a cream pie or two.[5]
Description
Eating a cream pie grants 100 nutrition and takes 1 turn to consume. Cream pies are fragile and will splatter if they are thrown or are dropped from a great enough height, and a force bolt spell or a zapped wand of striking will destroy any cream pies in the beam's path.[6][7] A hero splattering a cream pie owned by a shop will be billed for it.
A hero that wields a single cream pie or a stack of cream pies and attacks a monster with them will splatter one of the pies in the defender's face:[8][9] this uses up the pie and deals no damage, but will render the monster hostile, wake them from sleep and blind them for 21–45 more turns up to a maximum of 127 total turns.[10] This also applies to cream pies thrown by the hero that hit a monster, and monsters that lacks eyes or are currently engulfing the hero will be unaffected.[11][12] Cream pies will not affect shades.[13][14]
A hero can apply a cream pie or a stack of cream pies to smash one pie from the stack over their face:[15] the cream will blind them for up to 25 turns if the hero is in a form that can be blinded, and they can use the #wipe extended command or an applied towel to try and remove the gunk.[16][12] A hero that throws a cream pie straight upward and does not hit the ceiling will have it land on their face, blinding them for the same duration under the same conditions.[17][18]
A hero that applies a cursed towel while not wearing a towel or blindfold has a 1⁄2 chance of covering their face in cream pie gunk, blinding them for 3–12 more turns.[19][20] Gunk from a cream pie will be ignored by effects that normally cure blindness from other sources, such as eating carrots, casting the cure blindness spell or invoking The Staff of Aesculapius.[21]
Monsters can throw cream pies, and hostile monsters will target the hero with thrown cream pies—a thrown pie is destroyed whether or not it hits a target, and will deal no damage upon hitting any targets. A hero that is hit by a monster's thrown cream pie will be blinded for up to 25 (more) turns, while a monster hit by it will be blinded for 20-45 more turns up to a maximum of 127 total turns.[22][23]
A bug causes monsters that are blinded by cream pies through any means to have the above timers applied to any "permanent" blindness, e.g. from the flash of an expensive camera at close-range, and will cause that blindness to eventually time out.
The following information pertains to an upcoming version (NetHack 3.7.0). If this version is now released, please verify that the information below is still accurate, then update the page to incorporate it.
Per commit 9d7378ec, the bug that causes cream pies to undo permanent blindness is fixed.
Per commit ac9be589, sitting on one or more cream pies will destroy the stack, producing a "Squelch!" message.Strategy
The cream pie is usually not carried as a long-term food source due to its low nutrition to weight ratio, and is instead employed as a means of blinding monsters, a one-off source of blindness to use intrinsic telepathy with, or else a means to become blind without removing a worn pair of lenses (including The Eyes of the Overworld). Cream pies can also offer a temporary defense against gaze attacks from monsters such as floating eyes and pyrolisks, either from the hero blinding themselves or hitting the monster with it: for the case of Medusa, other sources of blindness are much more preferable unless the player is desperate.
Cream pies are especially useful for pacifist conduct players, who will often wield one or more pies to avoid doing any damage at all if they accidentally hit a hostile monster.
The Keystone Kops are a readily-accessible source of cream pies for heroes that are both willing to risk stealing from shops and capable of avoiding the shopkeeper, provided they (or a pet) can reliably kill the Kops before they can throw their pies.
History
The cream pie first appears in NetHack 1.3d.
The ability for the hero to blind themselves with an applied or thrown cream pie is added in NetHack 3.4.1 via commit 02ed5c37. The inability of cream pies to affect shades is added in NetHack 3.4.1 via commit 98414a82.
In NetHack 3.4.3 and earlier versions, applying or otherwise destroying a wielded cream pie and then attempting to swap weapons can crash the game due to an invalid pointer reference—this is bug C343-218, and is fixed in October 2006 via commit 15d933a0, commit 271632db and commit 60c96674. A patch that addresses this, Bilious #342, was submitted to the NetHack Patch Database in January 2009.
In versions and derived variants that do not have the above bug patched, the hero will be safe if they immediately wield something else (including wielding nothing by selecting -), or else save and restore the game.
The encyclopedia entry is added in NetHack 3.6.0.
Origin
A cream pie, crème pie or creme pie is a type of pie filled with a rich custard or pudding that is made from milk, cream, sugar, wheat flour, and eggs and typically topped with whipped cream. The cream pie is a one-crust pie which covers the bottom and sides but not the top, and the crust may be a standard pastry pie crust, a graham cracker crust or one made with crumbled cookies. Most cream pies have a cooked custard filling and a whipped cream topping—the filling is related to tarts and crème patissière, a key component of French cakes. Cream pies are made in many flavors, including vanilla, banana, lemon, lime, peanut butter, coconut, and chocolate.
Cream pies are typically favored for pieing or pie attacks, which refer to hitting someone in the face with a pie: an aluminium pie pan or paper plate filled with whipped cream, or more typically shaving cream, can substitute for a real pie. In Britain, a pie in the context of throwing is traditionally referred to as a custard pie. Brought to a widespread audience as the "pie-in-face" gag in silent film comedies such as those featuring the well-known Keystone Cops, pieing may sometimes be intended as a harmless practical joke, but can also be used as a means of political protest directed against an authority figure, politician, industrialist, or celebrity—the perpetrators may regard the act as a form of ridicule, though non-consensual pieing can constitute a punishable offence in criminal law and may also be actionable as a civil wrong. Pieing and pie fights are a staple of slapstick comedy, and consensual pie "tosses" are also common charity fundraising events, especially in schools.
Messages
- <A/The> cream pie splashes over <the monster's> <face>!
- You hit a monster with a wielded cream pie, or a thrown cream pie if "The" is used.[24]
- <The monster> is blinded by the cream pie.
- A cream pie thrown by a monster hit another monster.[25]
- You immerse your <face> in <one of> the cream pie(s).
- You applied a cream pie to your face, with the plural applied if it was part of a stack.[26]
- You give yourself a facial.
- As above, while hallucinating.[27]
- You've got it all over your <face>!
- You threw a cream pie upward and it did not splatter against the ceiling, instead landing on your head.[28]
- What a mess!
- You saw a cream pie be destroyed, either from being thrown and missing its target or from being hit by a force bolt or wand of striking.[29]
- Splat!
- A cream pie was splattered outside of your sight. This also occurs if you hit a monster with a wielded or thrown cream pie and you are either blind or else it had no effect.[30][31]
- Yecch! You've been creamed.
- You were blinded by a thrown cream pie.[32]
- There's something sticky all over your <face>.
- As above, while you were already blind.[33]
- Yecch! Your <face> <now has/has more> gunk on it!
- You applied a cursed towel and covered your face in cream pie gunk, with "has more" used if your face already had gunk on it.[34]
Variants
dNetHack
In dNetHack, notdNetHack and notnotdNetHack, a cream pie is placed inside the ice box in the warden's office on the Convict quest locate level during level creation.
SpliceHack
In SpliceHack, a cream pie can be combined with a pumpkin at a furnace to create a pumpkin pie, and a cream pie can be combined with an apple to create an apple pie.
Encyclopedia entry
Gregor stared at the pastry tray, and sighed. "I suppose
it would disturb the guards if I tried to shove a cream torte up
your nose."
"Deeply. You should have done it when we were eight and
twelve, you could have gotten away with it then. The cream pie
of justice flies one way," Miles snickered.
References
- ↑ src/u_init.c in NetHack 3.6.7, line 144: Initial inventory for Tourists
- ↑ src/u_init.c in NetHack 3.6.7, line 188
- ↑ src/u_init.c in NetHack 3.6.7, line 849-L852
- ↑ src/makemon.c in NetHack 3.6.7, line 389
- ↑ src/mkobj.c in NetHack 3.6.7, line 2219: any comestible that can be randomly generated is eligible
- ↑ src/dothrow.c in NetHack 3.6.7, line 1758
- ↑ src/dothrow.c in NetHack 3.6.7, line 2066
- ↑ src/uhitm.c in NetHack 3.6.7, line 998
- ↑ src/uhitm.c in NetHack 3.6.7, line 1039
- ↑ src/uhitm.c in NetHack 3.6.7, line 1000
- ↑ src/uhitm.c in NetHack 3.6.7, line 1001: calls can_blind()
- ↑ 12.0 12.1 src/mondata.c in NetHack 3.6.7, line 187: can_blind() function
- ↑ src/uhitm.c in NetHack 3.6.7, line 871: calls shade_aware()
- ↑ src/uhitm.c in NetHack 3.6.7, line 1337-L1358: shade_aware() function
- ↑ src/apply.c in NetHack 3.6.7, line 3106-L3134: use_cream_pie(obj) function
- ↑ src/apply.c in NetHack 3.6.7, line 3124: calls can_blind()
- ↑ src/dothrow.c in NetHack 3.6.7, line 967-L971
- ↑ src/dothrow.c in NetHack 3.6.7, line 987
- ↑ src/apply.c in NetHack 3.6.7, line 106
- ↑ src/apply.c in NetHack 3.6.7, line 115-L141: cursed towels in use_towel() function
- ↑ src/artifact.c in NetHack 3.6.7, line 1455: invoke effect for Staff of Aesculapius
- ↑ src/mthrowu.c in NetHack 3.6.7, line 441-L453: monster hit by another monster's thrown pie
- ↑ src/mthrowu.c in NetHack 3.6.7, line 643-L649: hero hit by monster's thrown pie
- ↑ src/uhitm.c in NetHack 3.6.7, line 1012-L1024
- ↑ src/mthrowu.c in NetHack 3.6.7, line 446
- ↑ src/apply.c in NetHack 3.6.7, line 3121
- ↑ src/apply.c in NetHack 3.6.7, line 3119
- ↑ src/dothrow.c in NetHack 3.6.7, line 988
- ↑ src/dothrow.c in NetHack 3.6.7, line 2107
- ↑ src/uhitm.c in NetHack 3.6.7, line 1007
- ↑ src/uhitm.c in NetHack 3.6.7, line 1034
- ↑ src/mthrowu.c in NetHack 3.6.7, line 645
- ↑ src/mthrowu.c in NetHack 3.6.7, line 647
- ↑ src/apply.c in NetHack 3.6.7, line 119